package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 万能机试验类型目录业务对象 n_laboratory_mechanics_w_index
 *
 * @author zyb
 * @date 2023-09-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryMechanicsWIndexBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 试验类型
     */
    @NotBlank(message = "试验类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sylx;

    /**
     * 试验名称
     */
    @NotBlank(message = "试验名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String symc;


}
